$(document).ready(function() {
	var rpath = getRootPath() + "/";
	$('#resetCap').click(function() {
		var timestamp = (new Date()).valueOf(); 
		$.getJSON(rpath + "user/resetCaptcha/"+timestamp, function(data) {
			$('#capImg').html(data['image']);
			$("#test").val('');
		});
	});
});